﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

/**
 * 创建时间：2015/1/19 11:09:26
 * 作者：yong.blackcore
 * Email：itblackhole@outlook.com
 * QQ：50404503
 */
namespace ComicIsland.Common.Entities.InterfaceJson
{
    [DataContract]
    public class JsonComicUpdateInfoBookDetail
    {
        [DataMember(Name = "updatetime")]
        public string Updatetime { get; set; }

        [DataMember(Name = "progresstype")]
        public int Progresstype { get; set; }

        [DataMember(Name = "author")]
        public string Author { get; set; }

        [DataMember(Name = "bookname")]
        public string Bookname { get; set; }

        [DataMember(Name = "gradescore")]
        public int Gradescore { get; set; }

        [DataMember(Name = "totalpart")]
        public int Totalpart { get; set; }

        [DataMember(Name = "bookid")]
        public int Bookid { get; set; }
    }

    [DataContract]
    public class JsonComicUpdateInfoBook
    {
        [DataMember(Name = "books")]
        public ObservableCollection<JsonComicUpdateInfoBookDetail> Books { get; set; }
    }

    [DataContract]
    public class JsonComicUpdateInfo
    {
        [DataMember(Name = "code_msg")]
        public string CodeMsg { get; set; }

        [DataMember(Name = "code")]
        public int Code { get; set; }

        [DataMember(Name = "info")]
        public JsonComicUpdateInfoBook Info { get; set; }
    }
}
